package com.xyy.saas.payment.manage.cores.api;


import com.xyy.saas.payment.manage.cores.bo.RiskControlPayWhitelistBo;
import com.xyy.saas.payment.manage.cores.vo.ResultPageVo;
import com.xyy.saas.payment.manage.cores.vo.ResultVO;
import com.xyy.saas.payment.manage.cores.vo.RiskControlPayWhitelistVO;

import java.util.List;

public interface RiskControlPayWhitelistApi {

    String test(String fileDate);
    String getContent(String fileName);
    /**
     * 批量插入 白名单
     * @param entities
     * @return
     */
    ResultVO<Integer> batchAdd(List<RiskControlPayWhitelistVO> entities);

    /**
     * 分页查询
     * @param param
     * @return
     */
    ResultPageVo<List<RiskControlPayWhitelistBo>> pageListByParam(RiskControlPayWhitelistVO param);

    /**
     * 删除 根据主键id
     * @param id
     * @return
     */
    ResultVO<Integer> deleteById(Long id);

}
